package com.ourchem;

import com.ourchem.bus.feign.ProDataFeignService;
import com.ourchem.bus.feign.ThemacitFeignService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author ourchem
 */
@EnableAsync
@EnableScheduling
@EnableFeignClients(clients = {ProDataFeignService.class, ThemacitFeignService.class})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class TransferPlatformApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(TransferPlatformApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
